package com.shzu.jwc.ty.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TheoreticalExaminationAppointmentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TheoreticalExaminationAppointmentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTheoreticalExaminationAppointmentIdIsNull() {
            addCriterion("theoretical_examination_appointment_id is null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdIsNotNull() {
            addCriterion("theoretical_examination_appointment_id is not null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdEqualTo(Integer value) {
            addCriterion("theoretical_examination_appointment_id =", value, "theoreticalExaminationAppointmentId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdNotEqualTo(Integer value) {
            addCriterion("theoretical_examination_appointment_id <>", value, "theoreticalExaminationAppointmentId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdGreaterThan(Integer value) {
            addCriterion("theoretical_examination_appointment_id >", value, "theoreticalExaminationAppointmentId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("theoretical_examination_appointment_id >=", value, "theoreticalExaminationAppointmentId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdLessThan(Integer value) {
            addCriterion("theoretical_examination_appointment_id <", value, "theoreticalExaminationAppointmentId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdLessThanOrEqualTo(Integer value) {
            addCriterion("theoretical_examination_appointment_id <=", value, "theoreticalExaminationAppointmentId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdIn(List<Integer> values) {
            addCriterion("theoretical_examination_appointment_id in", values, "theoreticalExaminationAppointmentId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdNotIn(List<Integer> values) {
            addCriterion("theoretical_examination_appointment_id not in", values, "theoreticalExaminationAppointmentId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdBetween(Integer value1, Integer value2) {
            addCriterion("theoretical_examination_appointment_id between", value1, value2, "theoreticalExaminationAppointmentId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentIdNotBetween(Integer value1, Integer value2) {
            addCriterion("theoretical_examination_appointment_id not between", value1, value2, "theoreticalExaminationAppointmentId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdIsNull() {
            addCriterion("theoretical_examination_id is null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdIsNotNull() {
            addCriterion("theoretical_examination_id is not null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdEqualTo(Integer value) {
            addCriterion("theoretical_examination_appointment.theoretical_examination_id =", value, "theoreticalExaminationId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdNotEqualTo(Integer value) {
            addCriterion("theoretical_examination_id <>", value, "theoreticalExaminationId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdGreaterThan(Integer value) {
            addCriterion("theoretical_examination_id >", value, "theoreticalExaminationId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("theoretical_examination_id >=", value, "theoreticalExaminationId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdLessThan(Integer value) {
            addCriterion("theoretical_examination_id <", value, "theoreticalExaminationId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdLessThanOrEqualTo(Integer value) {
            addCriterion("theoretical_examination_id <=", value, "theoreticalExaminationId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdIn(List<Integer> values) {
            addCriterion("theoretical_examination_id in", values, "theoreticalExaminationId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdNotIn(List<Integer> values) {
            addCriterion("theoretical_examination_id not in", values, "theoreticalExaminationId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdBetween(Integer value1, Integer value2) {
            addCriterion("theoretical_examination_id between", value1, value2, "theoreticalExaminationId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationIdNotBetween(Integer value1, Integer value2) {
            addCriterion("theoretical_examination_id not between", value1, value2, "theoreticalExaminationId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdIsNull() {
            addCriterion("user_info_id is null");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdIsNotNull() {
            addCriterion("user_info_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdEqualTo(Integer value) {
            addCriterion("user_info_id =", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdNotEqualTo(Integer value) {
            addCriterion("user_info_id <>", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdGreaterThan(Integer value) {
            addCriterion("user_info_id >", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_info_id >=", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdLessThan(Integer value) {
            addCriterion("user_info_id <", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_info_id <=", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdIn(List<Integer> values) {
            addCriterion("user_info_id in", values, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdNotIn(List<Integer> values) {
            addCriterion("user_info_id not in", values, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdBetween(Integer value1, Integer value2) {
            addCriterion("user_info_id between", value1, value2, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_info_id not between", value1, value2, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateIsNull() {
            addCriterion("theoretical_examination_appointment_state is null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateIsNotNull() {
            addCriterion("theoretical_examination_appointment_state is not null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateEqualTo(Integer value) {
            addCriterion("theoretical_examination_appointment_state =", value, "theoreticalExaminationAppointmentState");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateNotEqualTo(Integer value) {
            addCriterion("theoretical_examination_appointment_state <>", value, "theoreticalExaminationAppointmentState");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateGreaterThan(Integer value) {
            addCriterion("theoretical_examination_appointment_state >", value, "theoreticalExaminationAppointmentState");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("theoretical_examination_appointment_state >=", value, "theoreticalExaminationAppointmentState");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateLessThan(Integer value) {
            addCriterion("theoretical_examination_appointment_state <", value, "theoreticalExaminationAppointmentState");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateLessThanOrEqualTo(Integer value) {
            addCriterion("theoretical_examination_appointment_state <=", value, "theoreticalExaminationAppointmentState");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateIn(List<Integer> values) {
            addCriterion("theoretical_examination_appointment_state in", values, "theoreticalExaminationAppointmentState");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateNotIn(List<Integer> values) {
            addCriterion("theoretical_examination_appointment_state not in", values, "theoreticalExaminationAppointmentState");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateBetween(Integer value1, Integer value2) {
            addCriterion("theoretical_examination_appointment_state between", value1, value2, "theoreticalExaminationAppointmentState");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentStateNotBetween(Integer value1, Integer value2) {
            addCriterion("theoretical_examination_appointment_state not between", value1, value2, "theoreticalExaminationAppointmentState");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoIsNull() {
            addCriterion("theoretical_examination_appointment_fail_info is null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoIsNotNull() {
            addCriterion("theoretical_examination_appointment_fail_info is not null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoEqualTo(String value) {
            addCriterion("theoretical_examination_appointment_fail_info =", value, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoNotEqualTo(String value) {
            addCriterion("theoretical_examination_appointment_fail_info <>", value, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoGreaterThan(String value) {
            addCriterion("theoretical_examination_appointment_fail_info >", value, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoGreaterThanOrEqualTo(String value) {
            addCriterion("theoretical_examination_appointment_fail_info >=", value, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoLessThan(String value) {
            addCriterion("theoretical_examination_appointment_fail_info <", value, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoLessThanOrEqualTo(String value) {
            addCriterion("theoretical_examination_appointment_fail_info <=", value, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoLike(String value) {
            addCriterion("theoretical_examination_appointment_fail_info like", value, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoNotLike(String value) {
            addCriterion("theoretical_examination_appointment_fail_info not like", value, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoIn(List<String> values) {
            addCriterion("theoretical_examination_appointment_fail_info in", values, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoNotIn(List<String> values) {
            addCriterion("theoretical_examination_appointment_fail_info not in", values, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoBetween(String value1, String value2) {
            addCriterion("theoretical_examination_appointment_fail_info between", value1, value2, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentFailInfoNotBetween(String value1, String value2) {
            addCriterion("theoretical_examination_appointment_fail_info not between", value1, value2, "theoreticalExaminationAppointmentFailInfo");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreIsNull() {
            addCriterion("theoretical_examination_appointment_score is null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreIsNotNull() {
            addCriterion("theoretical_examination_appointment_score is not null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreEqualTo(Double value) {
            addCriterion("theoretical_examination_appointment_score =", value, "theoreticalExaminationAppointmentScore");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreNotEqualTo(Double value) {
            addCriterion("theoretical_examination_appointment_score <>", value, "theoreticalExaminationAppointmentScore");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreGreaterThan(Double value) {
            addCriterion("theoretical_examination_appointment_score >", value, "theoreticalExaminationAppointmentScore");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreGreaterThanOrEqualTo(Double value) {
            addCriterion("theoretical_examination_appointment_score >=", value, "theoreticalExaminationAppointmentScore");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreLessThan(Double value) {
            addCriterion("theoretical_examination_appointment_score <", value, "theoreticalExaminationAppointmentScore");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreLessThanOrEqualTo(Double value) {
            addCriterion("theoretical_examination_appointment_score <=", value, "theoreticalExaminationAppointmentScore");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreIn(List<Double> values) {
            addCriterion("theoretical_examination_appointment_score in", values, "theoreticalExaminationAppointmentScore");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreNotIn(List<Double> values) {
            addCriterion("theoretical_examination_appointment_score not in", values, "theoreticalExaminationAppointmentScore");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreBetween(Double value1, Double value2) {
            addCriterion("theoretical_examination_appointment_score between", value1, value2, "theoreticalExaminationAppointmentScore");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentScoreNotBetween(Double value1, Double value2) {
            addCriterion("theoretical_examination_appointment_score not between", value1, value2, "theoreticalExaminationAppointmentScore");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignIsNull() {
            addCriterion("theoretical_examination_appointment_sign is null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignIsNotNull() {
            addCriterion("theoretical_examination_appointment_sign is not null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignEqualTo(String value) {
            addCriterion("theoretical_examination_appointment_sign =", value, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignNotEqualTo(String value) {
            addCriterion("theoretical_examination_appointment_sign <>", value, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignGreaterThan(String value) {
            addCriterion("theoretical_examination_appointment_sign >", value, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignGreaterThanOrEqualTo(String value) {
            addCriterion("theoretical_examination_appointment_sign >=", value, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignLessThan(String value) {
            addCriterion("theoretical_examination_appointment_sign <", value, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignLessThanOrEqualTo(String value) {
            addCriterion("theoretical_examination_appointment_sign <=", value, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignLike(String value) {
            addCriterion("theoretical_examination_appointment_sign like", value, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignNotLike(String value) {
            addCriterion("theoretical_examination_appointment_sign not like", value, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignIn(List<String> values) {
            addCriterion("theoretical_examination_appointment_sign in", values, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignNotIn(List<String> values) {
            addCriterion("theoretical_examination_appointment_sign not in", values, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignBetween(String value1, String value2) {
            addCriterion("theoretical_examination_appointment_sign between", value1, value2, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAppointmentSignNotBetween(String value1, String value2) {
            addCriterion("theoretical_examination_appointment_sign not between", value1, value2, "theoreticalExaminationAppointmentSign");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeIsNull() {
            addCriterion("theoretical_examination_add_time is null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeIsNotNull() {
            addCriterion("theoretical_examination_add_time is not null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeEqualTo(Date value) {
            addCriterion("theoretical_examination_add_time =", value, "theoreticalExaminationAddTime");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeNotEqualTo(Date value) {
            addCriterion("theoretical_examination_add_time <>", value, "theoreticalExaminationAddTime");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeGreaterThan(Date value) {
            addCriterion("theoretical_examination_add_time >", value, "theoreticalExaminationAddTime");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("theoretical_examination_add_time >=", value, "theoreticalExaminationAddTime");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeLessThan(Date value) {
            addCriterion("theoretical_examination_add_time <", value, "theoreticalExaminationAddTime");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("theoretical_examination_add_time <=", value, "theoreticalExaminationAddTime");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeIn(List<Date> values) {
            addCriterion("theoretical_examination_add_time in", values, "theoreticalExaminationAddTime");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeNotIn(List<Date> values) {
            addCriterion("theoretical_examination_add_time not in", values, "theoreticalExaminationAddTime");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeBetween(Date value1, Date value2) {
            addCriterion("theoretical_examination_add_time between", value1, value2, "theoreticalExaminationAddTime");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("theoretical_examination_add_time not between", value1, value2, "theoreticalExaminationAddTime");
            return (Criteria) this;
        }
        
        public Criteria andUserStudentInfoNameLike(String value) {
            addCriterion("user_student_info_name like", value, "userStudentInfoName");
            return (Criteria) this;
        }
        
        public Criteria andUserStudentInfoCollegeEqualTo(String value) {
            addCriterion("user_student_info_college =", value, "userStudentInfoCollege");
            return (Criteria) this;
        }
        
        public Criteria andUserStudentInfoYearEqualTo(Integer value) {
            addCriterion("user_student_info_year =", value, "userStudentInfoYear");
            return (Criteria) this;
        }
        
        public Criteria andSystemYearIdEqualTo(Integer value) {
            addCriterion("system_year_id =", value, "systemYearId");
            return (Criteria) this;
        }

        public Criteria andUserStudentInfoNumEqualTo(String value) {
            addCriterion("user_student_info_num =", value, "userStudentInfoNum");
            return (Criteria) this;
        }

        public Criteria andIsSubmitEqualTo(String value){
            addCriterion("is_submit =", value, "isSubmit");
            return (Criteria) this;
        }

        public Criteria andTheoreticalExaminationEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("theoretical_examination_end_time <=", value, "theoreticalExaminationEndTime");
            return (Criteria) this;
        }

    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}